package com.itlong.cloud.POJO.DTO.common;

import java.io.Serializable;

/**
 * <desc>
 *      客户端与服务端交互的数据模型
 * </desc>
 *
 * @createDate 2018/11/1
 */
public class Message implements Serializable {
	private static final long serialVersionUID = -7543514952950971498L;
	private String id;   		//服务的唯一key
	private String content; 	//交互数据
	private int type;			//通信类型

	public Message(String id, String content, int type) {
		this.id = id;
		this.content = content;
		this.type = type;
	}

	public Message() {
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}
